package com.wxh.jwt.annotation;

import java.lang.annotation.*;

/**
 * @ClassName: UserLoginToken
 * @Description: 登录需要token
 * @Author wxh
 * @Date: 2020/5/28 11:03
 * @Version V1.0.0
 * @Since 1.8
 */
@Target({
        ElementType.METHOD,
        ElementType.TYPE
})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface UserLoginToken {
    /**
     *  true：需要 ，false:不需要
     * @return boolean
     */
    boolean required() default  true;
}
